package com.antler.smt.response.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 采购商代金券实体返回
 *
 * @author zhangyi
 * @date 2018/4/19 11:16
 */
public class GetPurchaserCashCouponListResp {

    /**
     * 主键Id，自增长
     */
    @ApiModelProperty(value = "主键Id，自增长", name = "id")
    private Long id;

    /**
     * 价值
     */
    @ApiModelProperty(value = "价值", name = "value")
    private Integer value;

    /**
     * 过期时间
     */
    @ApiModelProperty(value = "过期时间", name = "endTime")
    private Date endTime;

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id", name = "memberId")
    private Long memberId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
